package HomeWork2CalculateFigureArea;

public class Circular implements Figure {
    private double radius;

    public Circular() {
    }

    public Circular(double radius) {
        this.radius = radius;
    }
    public double getRadius() {
        return radius;
    }
    public void setRadius(double radius) {
        this.radius = radius;
    }
    public double getArea() {
        return Math.PI * radius * radius;
    }
}
